package com.itheima;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

//套餐
public interface SetmealService {
    //新增
    public void add(Setmeal setmeal, Integer[] checkgroupIds);
    //分页查询
    PageResult pageQuery(QueryPageBean queryPageBean);
    //移动端套餐查询
    List<Setmeal> findAll();

    Setmeal findById(int id);

    List<Map<String,Object>> findSetmealCount();
}
